#include "StdAfx.h"
#include "InitialGameStateMessage.h"
#include "Game.h"

InitialGameStateMessage::InitialGameStateMessage(GamePtr gamePtr, GameInitInfoPtr gameInitInfo)
: MessageBase()
, m_gamePtr(gamePtr)
, m_gameInitInfo(gameInitInfo)
{

}


InitialGameStateMessage::~InitialGameStateMessage()
{
}

void InitialGameStateMessage::do_execute()
{
   m_gamePtr->StartLANGame(m_gameInitInfo);
}